package scope;

public class Boss {
    private String name;
    private Car car;

    public Boss() {
    }

    public void init() {
        System.out.println("我被初始化了！！！");
    }

    Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    @Override
    public String toString() {
        return "name:" + name + "\n car:" + car;
    }
}
